package com.sjgl.esdn.mapper;

import com.sjgl.esdn.domain.entity.uc.ConfigSuffix;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: cjb
 * @Date: 2022-09-01 10:28
 **/
@Mapper
public interface ConfigSuffixMapper {

    /**
     * 获取文件配置类
     * @param fileSuffix 文件后缀
     * @return {@link ConfigSuffix}
     */
    ConfigSuffix selectByContent(@Param("fileSuffix") String fileSuffix);

    /**
     * 获取文件相对路径
     *
     * @param content 文件后缀
     * @return {@link String}
     */
    String selectFolderByContent(@Param("content") String content);

}
